package com.baseinfo.service;
import com.model.TCustomer;
import javax.persistence.*;
import java.util.List;
import java.util.Map;
/**
* @author admin
* @date 
*/
public interface CustomerService{
    public TCustomer saveOrupdate(TCustomer modelParam);
    public TCustomer save(TCustomer modelParam);
    public List<TCustomer> findAll(Map<String,Object> map);
    public TCustomer findById(Long id);
    public void del(Long id);

    public Long getSearchSize(Map<String,Object> map);
    public List<TCustomer> conditionsPage(Map<String,Object> map, Long start, Long length);
    public List<TCustomer> searchPage(Long start,Long length);
    public Long getTotalSize();

}